package asava.trees;

import java.util.List;

/**
 * @author Tim Richter
 */
public final class Block extends Tree {
    public List<Tree> trees;

    public Block(final List<Tree> trees) {
        this.trees = trees;
    }

    @Override
    public int kind() {
        return TreeKind.BLOCK;
    }

    @Override
    public void accept(final TreeVisitor visitor) {
        visitor.visit(this);
    }
}
